@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

// main-container全局样式
.app-container {
  // padding: 20px;
  width: calc(100% - 40px);
  height: auto !important;
  margin: 0 auto;
  background-color: #fff;
  color: #3d4551;
  font-family: "Microsoft YaHei";
  font-weight: 400;
  position: relative;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}
.app-containers {
  height: calc(100vh - 115px);
  padding: 20px;
  padding-top: 0;
  box-sizing: border-box;
  // overflow: auto;
  @include scrollBar;
}

/*a标签按钮样式*/
.link-hover {
  &:hover {
    text-decoration: none;
  }
}
.link {
  border: none;
  text-decoration: inherit;
  color: #1890FF;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  letter-spacing: normal;
  background: none;
  margin-right: 8px;
  cursor: pointer;

  &.mrnone {
    margin-right: 0px;
  }

  &.not-bind-link {
    color: #ff0000;
  }

  &:hover {
    // text-decoration: underline !important;
    text-decoration: none !important;
    color: #0080F6;
    background: none;
  }

  &.inherit:hover {
    text-decoration: none !important;
    cursor: inherit;
  }

  &:focus {
    color: #0080F6;
    background: none;
  }
}

.hint-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}

.mh100 {
  background-color: #F0F2F5;
  min-height: 100%;
}

.page-container {
  width: calc(100% - 40px);
  height: auto !important;
  margin: 0 auto;
  background-color: #fff;
  color: #3d4551;
  font-family: "Microsoft YaHei";
  font-weight: 400;
  position: relative;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}

.split-line {
  height: 20px;
  background-color: #F0F2F5;
}

.h84_line {
  height: 84px;
  background-color: #F0F2F5;
}

.img_wh110 {
  width: 146px;
  height: 146px;
  border: 1px dashed #cccccc;
  border-radius: 6px;
}

.img_wh100 {
  width: 100px;
  height: 100px;
  border: 1px dashed #cccccc;
}

.detail-block-row {
  padding-left: 0px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: wrap;
  flex-flow: wrap;
  padding-bottom: 8px;

  li {
    position: relative;
    padding-bottom: 16px;
    display: flex;
    flex-wrap: wrap;

    .detail-field {
      width: 126px;
      display: inline-block;
      position: relative;
      color: #333;
      text-align: right;
      font-size: 14px;
      font-weight: 400;
      padding-right: 16px;
      vertical-align: top;

      &.red {
        color: #ff0000;
      }
    }

    .detail-value {
      color: #333;
      width: 248px;
      font-size: 14px;
      font-weight: 400;
      display: inline-block;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      word-break: break-all;
    }
  }

  &:last-child {
    border-bottom: none;
  }
}

// .page-container {
//   width: calc(100%-40px);
//   height: auto !important;
//   margin: 0 auto;
//   background-color: #fff;
//   color: #3d4551;
//   font-family: "Microsoft YaHei";
//   font-weight: 400;
//   position: relative;
//   border-radius: 6px;
//   -webkit-border-radius: 6px;
//   -moz-border-radius: 6px;
//   -ms-border-radius: 6px;
//   -o-border-radius: 6px;
// }

.split-content-info {
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  // padding-bottom: 18px;
  padding: 20px
}

.split-content-title {
  // border-bottom: 1px solid #E8E8E8;
  // margin-bottom: 10px;
  margin-bottom: 20px;
  // background-color: red;
}

.split-title {
  font-weight: 600;
  font-size: 14px;
  color: #333333;
  position: relative;
  float: left;
  top: 4px;
  // padding: 20px 0 8px 20px;
}

.split-bd {
  width: calc(100%);
  margin: auto;
}

// 底部按钮
.bottom-btn {
  .bottom-locate {
    width: 100%;
    // width: calc(100% - 240px);
    text-align: right;
    background-color: #ffffff;
    box-shadow: 0px -2px 9px 0px rgba(0, 0, 0, 0.06);
    height: 64px;
    line-height: 64px;
    padding-right: 24px;
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 6 !important;
  }
}


.page-search-wrap {
  display: flex;
  flex-wrap: wrap;
  -webkit-box-align: center;
  justify-content: space-between;
  position: relative;
  padding: 0 20px;
  padding-top: 20px;

  .page-search-wrap-form {
    background-color: #ffffff;
    -webkit-box-align: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding-bottom: 12px;
  }
}

.page-table {
  margin: 0 20px;
}

.com-tabel {
  position: relative;
  .bg-line {
    width: 100%;
    height: 12px;
    background-color: #F0F2F5;
  }
}

.m-t-search {
  background-color: #fff;
  // padding-top: 20px;
  // padding-bottom: 12px;
  // padding: 20px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding: 20px 20px 12px 20px;

  >div {
    margin-left: 0px !important;
  }
}
.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}


.span-text {
  display: inline-block;
  height: 22px;
  line-height: 22px;
  font-size: 14px;
  font-weight: 400;
  color: #333333;
}